﻿
using System;
using System.Data;
using System.Data.SqlClient;
namespace Model
{
	
	/// <summary>	 
	/// 站点反馈信息表
	/// </summary>
	public class DbFeedbook
	{ 
		#region DbFeedbook
		/// <summary>
		/// 
		/// </summary>
		public DbFeedbook()
		{
		}
		/// <summary>	 
		/// 
		/// </summary>
		public DbFeedbook(Int32 fId)
		{
			this.fId = fId;
		
		}
		/// <summary>	 
		/// 
		/// </summary>		
		public DbFeedbook(DataRow dr)
		{
			int.TryParse(Convert.ToString(dr["fId"]),out fId);
			this.fTitle = Convert.ToString(dr["fTitle"]);
			this.fUser = Convert.ToString(dr["fUser"]);
			this.fTel = Convert.ToString(dr["fTel"]);
			this.fEmail = Convert.ToString(dr["fEmail"]);
			this.fQQ = Convert.ToString(dr["fQQ"]);
			this.fNotes = Convert.ToString(dr["fNotes"]);
			if(dr["fAddTime"] != DBNull.Value)
				this.fAddTime = Convert.ToDateTime(dr["fAddTime"]);
			this.fIsReply = Convert.ToInt16(dr["fIsReply"]);
			
		}
		#endregion
		
		
		#region FId
		private Int32 fId;
		/// <summary>	 
		/// 
		/// AutoInc
		/// PK
		/// </summary>
		public Int32 FId
		{
			get{ return fId; }
			set{ fId= value; }
		}
		#endregion
		
		#region FTitle
		private System.String fTitle;
		/// <summary>	 
		/// 反馈主题
		/// </summary>
		public System.String FTitle
		{
			get{ return fTitle; }
			set{ fTitle= value; }
		}
		#endregion
		
		#region FUser
		private System.String fUser;
		/// <summary>	 
		/// 用户
		/// </summary>
		public System.String FUser
		{
			get{ return fUser; }
			set{ fUser= value; }
		}
		#endregion
		
		#region FTel
		private System.String fTel;
		/// <summary>	 
		/// 联系电话
		/// </summary>
		public System.String FTel
		{
			get{ return fTel; }
			set{ fTel= value; }
		}
		#endregion
		
		#region FEmail
		private System.String fEmail;
		/// <summary>	 
		/// 电子邮件
		/// </summary>
		public System.String FEmail
		{
			get{ return fEmail; }
			set{ fEmail= value; }
		}
		#endregion
		
		#region FQQ
		private System.String fQQ;
		/// <summary>	 
		/// QQ
		/// </summary>
		public System.String FQQ
		{
			get{ return fQQ; }
			set{ fQQ= value; }
		}
		#endregion
		
		#region FNotes
		private System.String fNotes;
		/// <summary>	 
		/// 反馈内容
		/// </summary>
		public System.String FNotes
		{
			get{ return fNotes; }
			set{ fNotes= value; }
		}
		#endregion
		
		#region FAddTime
		private DateTime fAddTime;
		/// <summary>	 
		/// 反馈时间
		/// </summary>
		public DateTime FAddTime
		{
			get{ return fAddTime; }
			set{ fAddTime= value; }
		}
		#endregion
		
		#region FIsReply
		private Int16 fIsReply;
		/// <summary>	 
		/// 是否回复
		/// </summary>
		public Int16 FIsReply
		{
			get{ return fIsReply; }
			set{ fIsReply= value; }
		}
		#endregion

	}
}
